<script>
var func = window.parent.testFunction;
document.domain = document.domain; // after this window.parent properties are inaccessible
func(); // yet this should still work
</script>

